home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / LIBRARY / TSPA3460 / TSPAS.SUM < prev    next >
Text File  |  1994-08-16  |  10KB  |  224 lines

  1. Tue 16-August-1994
  2.  
  3. Summary of the Functions and Procedures in the TSPAxx## Package
  4.  
  5. Functions are indicated by the ending FN, the procedures by the lack
  6. of it.
  7.  
  8. TSUNTA: (uses Dos, Crt, TSUNTE)
  9.   ATTRIBFN Color attribute for direct write to video memory
  10.   HIGHTFN  Current height of text screen
  11.   PANML    Scroll screen left
  12.   PANMR    Scroll screen right
  13.   VDAEXYFN Direct read of a screen video memory color attribute
  14.   VDCHXY   Direct read from the screen video memory
  15.   VIDXY    Direct write to the screen video memory
  16.   WIDTHFN  Current width of the text screen
  17.  
  18. TSUNTB: (uses Dos)
  19.   BBINFN   Convert decimal byte to binary string
  20.   BHEXFN   Convert decimal byte to hexadecimal string
  21.   BINDECFN Convert binary string to decimal word
  22.   BINFN    Convert decimal word to binary string
  23.   BITONFN  Boolean status of a bit in a word
  24.   BTEWRDFN Combine two bytes into a single word, inverse of Hi & Lo
  25.   CONVBFN  Convert a number (string) of any base to any other base
  26.   HEXDECFN Convert hexadecimal string to decimal word
  27.   HEXFN    Convert decimal word to hexadecimal string
  28.   HEXLNGFN Convert hexadecimal string to decimal longint up to 7FFFFFFF
  29.   HIWORDFN The high-order (hi) word of the longint argument
  30.   LBINFN   Convert decimal longint to binary string
  31.   LHEXFN   Convert decimal longint to hexadecimal string
  32.   LOWORDFN The low-order (lo) word of the longint argument
  33.   POWERFN  Conventional raising of a positive real to a power
  34.   POWERGFN Generalized raising of any real to a real power
  35.   POWERLFN Raise longint to a non-negative integer power fast
  36.   R16TOFN  Sixteen to a power fast (word)
  37.   TICKSFN  Count of 18.2 times per second ticks (longint)
  38.   TIMERFN  Seconds elapsed since midnight (real)
  39.   TWOTOFN  Two to a power fast (word)
  40.   WRDLNGFN Combine two words into a longint
  41.  
  42. TSUNTC: (uses Dos, Crt)
  43.   BLBACK   Cancel HIBACK enabling usage of blinking text
  44.   HIBACK   Enable hi-intensity (bright) background colors
  45.   PLAYNOTE Play a note
  46.   REVCOLOR Reverse text colors (a toggle)
  47.  
  48. TSUNTD: (uses Dos)
  49.   AUDIO    Enhanced Sound procedure, no Crt unit needed
  50.   DOSDELAY Delay without needing the Crt unit
  51.   GETPRTFN Get the number of printer default timeout retry times
  52.   LEADFN   Lead a string with a multiple character (i.e. pad left)
  53.   LOWCASFN The opposite of UpCase (inline coded)
  54.   LPTONLFN Get the online status of the first parallel printer
  55.   PARSE    Extract all substrings from a string faster (1st method)
  56.   PARSENFN Number of substrings in a string (resembles ParamCount)
  57.   PARSERFN Get substrings from a string (resembles ParamStr)
  58.   PRTONLFN Get the online status of a printer (may fail)
  59.   PRTSCR   Print the current screen
  60.   SETPRT   Set the number of default printer timeout retry times
  61.   SPARTFN  Returns a specified substring (resembles ParamStr)
  62.   STRCNTFN Number of substrings in a string (resembles ParamCount)
  63.   TRAILFN  Trail a string with a multiple character (i.e. pad right)
  64.   TRIMLFFN Trim a string left
  65.   TRIMRGFN Trim a string right
  66.  
  67. TSUNTE: (uses Dos)
  68.   ALLSIZFN Allocated true size of a file in bytes
  69.   ARCFILFN Is a file's archive bit set or not
  70.   BORDER   Change border color (CGA, VGA)
  71.   CAPS     Turn CapsLock on, or off
  72.   CAPSONFN Get CapsLock status
  73.   CLB      Clear the keyboard buffer
  74.   CLUSIZFN Cluster size on a device (cluster is the allocation unit)
  75.   CMDLNFN  Returns the entire command line
  76.   CURSOFF  Turn off cursor (keeps other cursor attributes)
  77.   CURSON   Turn cursor back on as it was
  78.   CURSOR   Change cursor size
  79.   DATEOKFN Is a date a valid, existing date
  80.   DEFDRVFN Get the default drive
  81.   FEXISTFN File existence status, handles ReadOnly files correctly
  82.   FSIZE2FN File size in bytes, alternative method
  83.   FSIZEFN  File size in bytes as in directory (never on open file)
  84.   HIDFILFN Is a file a hidden file or not
  85.   LABELFN  Get a disk's volume label
  86.   LASTDMFN The number of days in a given month and year
  87.   MONOFN   Is it a monochrome video adapter
  88.   NUMLOCK  Turn NumLock on, or off
  89.   NUMLONFN Get NumLock status
  90.   RDOFILFN Is a file a read-only file or not
  91.   SCRLOCK  Turn ScrollLock on, or off
  92.   SCRLONFN Get ScrollLock status
  93.   SYSFILFN Is a file a system file or not
  94.   WEEKNRFN Returns the week number for a given date
  95.   WKDAYFN  Returns modern weekday
  96.   ZELLERFN Zeller's congruence (for comparing dates etc)
  97.  
  98. TSUNTF: (uses Dos, Crt)
  99.   EDRDEBLN Editable Readln with ctrl-c, break trapping, pre-fill etc
  100.   EDRDEFLN Editable Readln with recall, pre-fill, and insert toggle
  101.   EDRDLN   Readln with line-editing potential (the simplest)
  102.   EDREABLN Edreadln with ctrl-c and break trapping
  103.   EDREADLN Editable Readln with recall, and insert toggle
  104.  
  105. TSUNTG: (uses Dos)
  106.   ACTDRVFN Which floppy drive is active on a one drive system
  107.   CDROMFN  Is a drive a CD-ROM with MSCDEX driver installed
  108.   CLS      Set 25*80 text mode and clear screen (no Crt required)
  109.   CLS40    Set 25*40 text mode and clear screen (no Crt required)
  110.   DRIVESFN Number of diskette drives on the system
  111.   DSKCNTFN Get the number of disk devices (MsDos 3.0+)
  112.   FDRIVEFN The name of the first diskette drive on the system
  113.   FIXEDFN  Is a drive a fixed disk or not
  114.   FLOPSTFN Floppy disk status. Is it present and formatted.
  115.   GOATXY   As the ordinary GoToXY but no Crt unit required
  116.   INDRIVFN Is a media present in the given drive
  117.   ISANSIFN Has ansi.sys or a similar screen driver been loaded
  118.   ISRAMFN  Is a drive a probable ramdisk
  119.   ISUBSTFN Is a drive a substituted drive (MsDos 3.1+)
  120.   MEDIAFN  What kind of a disk media is present in a drive
  121.   MSCVERFN Get CD-ROM driver MSCDEX.EXE version
  122.   REVAREA  Reverse the colors of an area
  123.   USECON   Restore write and writeln direction to the screen
  124.   USEPRN   Redirect write and writeln to the printer
  125.   WHEREXFN As the ordinary WhereX but no Crt unit required
  126.   WHEREYFN As the ordinary WhereY but no Crt unit required
  127.  
  128. TSUNTH: (uses Dos)
  129.   COUNTRFN Get country code (MsDos 3.0+)
  130.   CPUFN    Get the type of the processor chip
  131.   DATEFMFN Country-dependent date format (MsDos 3.0+)
  132.   FATSFN   Get number of file allocation tables, not XTs
  133.   GRTABLFN Has MsDos GRAFTABL been loaded or not
  134.   INTERLFN Get interleave coefficient of a harddisk, not XTs
  135.   ISENHAFN To detect an enhanced keyboard
  136.   ISMOUSFN A simple true/true false test of mouse available
  137.   LASTDRFN Get last drive of the system, softcoded, not XTs
  138.   MATHCOFN Is a math coprocessor present
  139.   MOUSTAFN Status (type byte) of the mouse hardware and driver
  140.   NRCYLFN  Number of cylinders on a drive if media present (MsDos 3.2+)
  141.   PARPORFN Get the number of parallel ports (printers installed)
  142.   ROMDTEFN Get ROM BIOS version (date)
  143.   RS232FN  Get the number of serial ports
  144.   TIMEFMFN Country-dependent time format (MsDos 3.0+)
  145.   Z2ASZFN  Convert an Asciiz string into an ordinary ascii string
  146.  
  147. TSUNTI: (uses Dos)
  148.   BRANDEXE Store information within your program's .exe file (MsDos 3.0+)
  149.   CHKSUMFN Checksum selftest to detect any tampering (MsDos 3.0+)
  150.   USECOUNT Get the number of times the program has been used
  151.  
  152. TSUNTJ: (uses Dos)
  153.   COPYFILE Copy a file from within a Turbo Pascal program
  154.   INTRADDR Show the memory address to which the interrupt points
  155.   INTRLOCA Show the memory address where the interrupt is located
  156.   ISDIR2FN Is a name a directory or not, alternative method
  157.   ISDIR3FN Is a name a directory or not, a slower and surer method
  158.   ISDIRFN  Is a name a directory or not (not for DRDOS)
  159.   OPENEDFN Is an assigned textfile still open or not
  160.   OPENFLFN Is an assigned non-textfile still open or not
  161.   PIPEDIFN Is the standard input from redirection
  162.   PIPEDNFN Is the standard output redirected to nul
  163.   PIPEDOFN Is the standard output redirected
  164.  
  165. TSUNTK: (uses Dos, TSUNTB)
  166.   BOOTDRFN Get boot device name (MsDos 4.0+)
  167.   GETSERFN Get disk's serial number (MsDos 4.0+)
  168.   GETVOLFN Special get disk volume label (MsDos 4.0+)
  169.   SETSER   Set floppy's serial number (MsDos 4.0+)
  170.  
  171. TSUNTL: (uses Dos)
  172.   ISEGAFN  Is at least an EGA present. No graph unit needed
  173.   NOLABEL  Delete a disk's volume label.
  174.   SCROLLDN Scroll down a window. No Crt unit needed
  175.   SCROLLUP Scroll up a window. No Crt unit needed
  176.   SETLABEL Set a disk's volume label.
  177.  
  178. TSUNTM: (uses Dos)
  179.   ALTFN    Is the alt key depressed
  180.   CTRLFN   Is the ctrl key depressed
  181.   GETESCAN Get scancode of key pressed, enhanced keyboard.
  182.   GETSCAN  Get scancode of key pressed, XT keyboard.
  183.   INKEYFN  Basic-like timed character input
  184.   KEYPREFN As the ordinary KeyPressed but no Crt unit required
  185.   LFALTFN  Is the left alt key depressed
  186.   LFCTRLFN Is the left ctrl key depressed
  187.   LFSHFTFN Is the left shift key depressed
  188.   RDENKEFN Enhanced keyboard ReadKey, detects also F11 and F12
  189.   READKEFN As the ordinary ReadKey but no Crt unit required
  190.   RTALTFN  Is the right alt key depressed
  191.   RTCTRLFN Is the right ctrl key depressed
  192.   RTSHFTFN Is the right shift key depressed
  193.   SYSRQFN  Is the SysRq key depressed
  194.  
  195. TSUNTBOT: (uses Dos)
  196.   COLDBOOT Reboot computer, including memory tests
  197.   REBOOT   Reboot computer with disk closing and cache flushing
  198.   WARMBOOT Warm reboot of the computer (as alt-ctrl-del)
  199.  
  200. TSUNTENV: (uses Dos)
  201.   ENVADDFN Get the starting segment address of the parent environment
  202.   ENVSIZFN Get the size of the parent environment
  203.   ENVUSEFN Get the current use of the parent environment
  204.   SETENV   Set a parent environment variable (variable=value)
  205.   SETENVSH Set an environment variable for the duration of shelling
  206.   SHOWENV  Write the parent environment table on stdout (for testing)
  207.  
  208. SELFTEST.PAS: (uses Dos)
  209.   SELFTEST Selftest .exe file's size and date to detect tampering
  210.  
  211. TSUNT45: (Uses Dos)  (Needed for TP 4.0 only)
  212.   DosVersion Get Dos version
  213.   EnvCount   The number of strings contained in the DOS environment
  214.   EnvStr     The value of an environment string defined by index count
  215.   FExpand    Expand a file name into a fully qualified file name
  216.   GetCBreak  Get the state of Ctr-Break checking in DOS
  217.   GetEnv     The value of an environment string defined by string id
  218.   GetVerify  Get the status of the MsDos write verify flag
  219.   ParamStr0  The name of the program
  220.   SetCBreak  Set the state of Ctr-Break checking in DOS
  221.   SetVerify  Set the status of the MsDos write verify flag
  222.  
  223. TSERR: (Include verbal run-time error messages)
  224.